package com.yuantu.judiciary.model.domain;

import com.yuantu.judiciary.model.BaseDO;
import lombok.Data;
import org.hibernate.annotations.Comment;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;


/**
 * 组织使用记录表
 *
 * @author syw
 * @since 2023-06-12
 **/
@Data
@Entity
@DynamicUpdate
@Table(name = "membership_rank")
public class MembershipRankDO extends BaseDO {

    /**
     * 会员等级
     */
    @Comment("会员等级")
    private String membershipRank;

    /**
     * 积分下限
     */
    @Comment("积分下限")
    private Double lowScore;

    /**
     * 积分上限
     */
    @Comment("积分上限")
    private Double upScore;


    @Comment("每笔可增加积分")
    private Double score;

}
